package org.lisa.crm.dao;

import org.lisa.crm.model.SaleChance;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by admin on 2018/1/8.
 */
public interface MarketingDao {
    public List<SaleChance> querySaleChancesByParams(Map<String,Object> map);

    public int insertSaleschance(SaleChance saleChance);

    public int updateSaleschance(SaleChance saleChance);

    public int deleteSaleschance(int ids);

    public  SaleChance querySalesChangeById(int sid);

    /*
    @Param("devResult") Integer devResult,@Param("sid") Integer sid);
     */
    public int updateSaleChanceDevResult(@Param("devResult") Integer devResult,@Param("sid") Integer sid);
}
